package com.learning.spring.ioc.application.event;

import org.springframework.context.ApplicationListener;

/**
 * ClassName: ApplyEventListener
 * Description: 应用事件监听器
 * Date: 2020/7/22 10:20 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public class ApplyEventListener implements ApplicationListener<ApplyEvent> {

    @Override
    public void onApplicationEvent(ApplyEvent event) {
        System.out.println("监听到的数据： " + event.getMsg());
    }
}